package com.jlkf.dao;

import java.util.List;
import java.util.Map;

import com.jlkf.pojo.TblSort;

public interface TblSortMapper {
    int deleteByPrimaryKey(Long gId);

    int insert(TblSort record);

    int insertSelective(TblSort record);

    TblSort selectByPrimaryKey(Long gId);

    int updateByPrimaryKeySelective(TblSort record);

    int updateByPrimaryKey(TblSort record);

	List<TblSort> levelOneSort();
	
	/**
	 * 查看课程一级二级跟三级分类
	 */
	List<Map<String,Object>> selectCourseOneStair(Integer id);
	
	/**
	 * 查看特色课程一级二级跟三级分类
	 */
	List<Map<String,Object>> selectFeatureCourseOneStair(Integer id);
	
	/**
	 * 查看三级分类
	 * @return
	 */
	List<TblSort> selectByType();
}